package com.huak.zookeeper.curator;

import lombok.extern.slf4j.Slf4j;
import org.apache.curator.framework.api.CuratorWatcher;
import org.apache.zookeeper.WatchedEvent;

/**
 * @author liuhuan
 * @date 2018/9/24 10:06
 * @description
 */
@Slf4j
public class MyCuratorWatcher implements CuratorWatcher {
    @Override
    public void process(WatchedEvent watchedEvent) throws Exception {
        log.info("CuratorWatcher path :{}",watchedEvent.getPath());
    }
}
